home *** CD-ROM | disk | FTP | other *** search
- #import <appkit/View.h>
-
- #define DEFAULTSTEPSIZE 5
- #define MAXSIZE 100
-
- @interface ProgressView:View
- {
- int total, count, stepSize;
- float ratio;
- }
-
- - initFrame:(const NXRect *)frameRect;
- - drawSelf:(const NXRect *)rects :(int)rectCount;
-
- - setTotalSize: (int)value;
- - (int)totalSize;
-
- - setStepSize:(int)value;
- - (int)stepSize;
-
- - setRatio:(float)newRatio;
- - takeFloatValueFrom: sender;
-
- - setIntValue: (int) aValue;
- - (int) intValue;
- - takeIntValueFrom: sender;
-
- - increment:sender;
-
- - (const char *)getInspectorClassName;
- - read:(NXTypedStream*)stream;
- - write:(NXTypedStream*)stream;
-
- @end
-